#include<stdio.h>  
  
int main(int argc, char const *argv[]) 
{  
    int year;  
    printf("请输入一个年份: \n");  
    scanf("%d", &year);  
   
    if ((year % 4 == 0 && year % 100 != 0) || (year % 400 == 0))
    {  
        printf("这一年是闰年\n");  
    } 
    else 
    {  
        printf("这一年是平年\n");  
    }  
  
    return 0;  
}
